package com.seeyon.apps.wpscoordination.common;

/**
 * 申明一个描述异常类型和消息的枚举
 */
public enum ExceptionCode {

    /**
     * 枚举要先把对象声明好，
     * 访问的时候，只能访问这些提前声明的对象
     */
    ;

    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ExceptionCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

}
